/**
 * Created with IntelliJ IDEA.
 * User: 卞京帅{bjslogin@gmail.com}
 * Date: 12-11-14
 * Time: 下午10:32
 * To change this template use File | Settings | File Templates.
 */
Ext.define('Airways.view.system.FrameView' ,{
    extend: 'Ext.container.Viewport',
    alias : 'widget.frameView',
    width:'100%',
    height:'100%',
    layout:'border',
    initComponent: function() {
        this.items = this.buildItems();
        this.callParent(arguments);
    },
    buildItems:function(){
        var topView = Ext.create('Airways.view.system.FrameTopView',{
            region: 'north'
        });
        var leftView = Ext.create('Airways.view.system.FrameLeftView',{
            region:'west'
        });
        var centerView = Ext.create('Airways.view.system.FrameCenterView',{
            region:'center'
        });

        return [topView,leftView,centerView,{
            region: 'south',
            height: 17,
            split:false,
            collapsible: false,
            html:'上海新急便国际货物运输代理有限公司 版权所有@2012'
        }];
    }
});
